export namespace controller {
	
	export class Res {
	    code: number;
	    message: string;
	    data: any;
	
	    static createFrom(source: any = {}) {
	        return new Res(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.code = source["code"];
	        this.message = source["message"];
	        this.data = source["data"];
	    }
	}

}

export namespace model {
	
	export class PartManagement {
	    id: number;
	    partCode: string;
	    skuName: string;
	    partLocation: string;
	    firstCategorize: string;
	    secondCategorize: string;
	    partSize: string;
	    partColor: string;
	    inventory: number;
	    inventoryRequire: string;
	    remark: string;
	    createBy: string;
	    createTime: string;
	    updateBy: string;
	    updateTime: string;
	    delFlag: number;
	
	    static createFrom(source: any = {}) {
	        return new PartManagement(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.id = source["id"];
	        this.partCode = source["partCode"];
	        this.skuName = source["skuName"];
	        this.partLocation = source["partLocation"];
	        this.firstCategorize = source["firstCategorize"];
	        this.secondCategorize = source["secondCategorize"];
	        this.partSize = source["partSize"];
	        this.partColor = source["partColor"];
	        this.inventory = source["inventory"];
	        this.inventoryRequire = source["inventoryRequire"];
	        this.remark = source["remark"];
	        this.createBy = source["createBy"];
	        this.createTime = source["createTime"];
	        this.updateBy = source["updateBy"];
	        this.updateTime = source["updateTime"];
	        this.delFlag = source["delFlag"];
	    }
	}
	export class ProductManagement {
	    id: number;
	    productCode: string;
	    productSku: string;
	    productCategory: string;
	    targetMarket: string;
	    inventory: number;
	    remark: string;
	    createBy: string;
	    createTime: string;
	    updateBy: string;
	    updateTime: string;
	    delFlag: number;
	
	    static createFrom(source: any = {}) {
	        return new ProductManagement(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.id = source["id"];
	        this.productCode = source["productCode"];
	        this.productSku = source["productSku"];
	        this.productCategory = source["productCategory"];
	        this.targetMarket = source["targetMarket"];
	        this.inventory = source["inventory"];
	        this.remark = source["remark"];
	        this.createBy = source["createBy"];
	        this.createTime = source["createTime"];
	        this.updateBy = source["updateBy"];
	        this.updateTime = source["updateTime"];
	        this.delFlag = source["delFlag"];
	    }
	}

}

export namespace request {
	
	export class PartInputReq {
	    id: number;
	    partCode: string;
	    skuName: string;
	    inventoryQuantity: string;
	    remark: string;
	
	    static createFrom(source: any = {}) {
	        return new PartInputReq(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.id = source["id"];
	        this.partCode = source["partCode"];
	        this.skuName = source["skuName"];
	        this.inventoryQuantity = source["inventoryQuantity"];
	        this.remark = source["remark"];
	    }
	}
	export class PartManagementReq {
	    id: number;
	    partCode: string;
	    skuName: string;
	    partLocation: string;
	    firstCategorize: string;
	    secondCategorize: string;
	    partSize: string;
	    partColor: string;
	    inventory: string;
	    inventoryRequire: string;
	    remark: string;
	    createBy: string;
	    createTime: string;
	    updateBy: string;
	    updateTime: string;
	
	    static createFrom(source: any = {}) {
	        return new PartManagementReq(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.id = source["id"];
	        this.partCode = source["partCode"];
	        this.skuName = source["skuName"];
	        this.partLocation = source["partLocation"];
	        this.firstCategorize = source["firstCategorize"];
	        this.secondCategorize = source["secondCategorize"];
	        this.partSize = source["partSize"];
	        this.partColor = source["partColor"];
	        this.inventory = source["inventory"];
	        this.inventoryRequire = source["inventoryRequire"];
	        this.remark = source["remark"];
	        this.createBy = source["createBy"];
	        this.createTime = source["createTime"];
	        this.updateBy = source["updateBy"];
	        this.updateTime = source["updateTime"];
	    }
	}
	export class ProductManagementReq {
	    id: number;
	    productCode: string;
	    productSku: string;
	    productCategory: string;
	    targetMarket: string;
	    inventory: string;
	    remark: string;
	    createBy: string;
	    createTime: string;
	    updateBy: string;
	    updateTime: string;
	
	    static createFrom(source: any = {}) {
	        return new ProductManagementReq(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.id = source["id"];
	        this.productCode = source["productCode"];
	        this.productSku = source["productSku"];
	        this.productCategory = source["productCategory"];
	        this.targetMarket = source["targetMarket"];
	        this.inventory = source["inventory"];
	        this.remark = source["remark"];
	        this.createBy = source["createBy"];
	        this.createTime = source["createTime"];
	        this.updateBy = source["updateBy"];
	        this.updateTime = source["updateTime"];
	    }
	}
	export class ProductOutputReq {
	    id: number;
	    productCode: string;
	    productSku: string;
	    outboundQuantity: string;
	    remark: string;
	
	    static createFrom(source: any = {}) {
	        return new ProductOutputReq(source);
	    }
	
	    constructor(source: any = {}) {
	        if ('string' === typeof source) source = JSON.parse(source);
	        this.id = source["id"];
	        this.productCode = source["productCode"];
	        this.productSku = source["productSku"];
	        this.outboundQuantity = source["outboundQuantity"];
	        this.remark = source["remark"];
	    }
	}

}

